package cn.edu.pku.ss.music.net;

import org.apache.http.client.HttpClient;
import org.apache.http.impl.client.DefaultHttpClient;

public class SingletonHttpClient {
	private static HttpClient client;
	
	private SingletonHttpClient(){
	}
	
	public static HttpClient getInstance(){
		if(client == null)
			client = new DefaultHttpClient();
		
		return client;
	}
}
